package com.weibo.net;

import android.content.Context;
import java.io.IOException;

public class AsyncWeiboRunner
{
  private Weibo mWeibo;

  public AsyncWeiboRunner(Weibo paramWeibo)
  {
    this.mWeibo = paramWeibo;
  }

  public void request(Context paramContext, String paramString1, WeiboParameters paramWeiboParameters, String paramString2, RequestListener paramRequestListener)
    throws WeiboException
  {
    this.mWeibo.request(paramContext, paramString1, paramWeiboParameters, paramString2, this.mWeibo.getAccessToken());
  }

  public static abstract interface RequestListener
  {
    public abstract void onComplete(String paramString);

    public abstract void onError(WeiboException paramWeiboException);

    public abstract void onIOException(IOException paramIOException);
  }
}